﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="TemplateManagement.aspx.cs"
    Inherits="Medianamik.UI.ContentManagement.TemplateManagement" MasterPageFile="../MasterPages/MedianamikModule.Master" %>

<asp:Content ID="ContextMenuContent" ContentPlaceHolderID="ContextMenu" runat="server">
    <asp:LinkButton ID="btnSave" runat="server" CssClass="Action BtSauvegarder" OnClick="Save"
        Text="<%$ Resources: Medianamik_Global, SaveButtonText %>" />
    <a href="<%= ReturnURL %>" class="Action BtAnnuler unlock">
        <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources: Medianamik_Global, Cancel %>"></asp:Literal></a>
</asp:Content>

<asp:Content ID="CenterContent" ContentPlaceHolderID="CenterContent" runat="server">
    <med:MedianamikFormTemplate ID="Fields" runat="server">
        <Template>
            <telerik:RadTabStrip ID="TabStrip" runat="server" EnableEmbeddedSkins="False" Skin="Medianamik"
                MultiPageID="MultiPage" SelectedIndex="0" ShowBaseLine="True">
                <Tabs>
                    <telerik:RadTab Text="<%$ Resources: Medianamik_ContentManagement, TemplateTabTitle %>" />
                </Tabs>
            </telerik:RadTabStrip>
            <telerik:RadMultiPage ID="MultiPage" runat="server" SelectedIndex="0" CssClass="TabPage">
                <telerik:RadPageView ID="PageView" runat="server" CssClass="ContainerEditeurPage">
                    <med:MedianamikPropertyControl ID="Name" runat="server" PropertyName="Name" CultureNames="<%# MedianamikCultures %>" />
                    <med:MedianamikPropertyControl ID="WebSite" runat="server" PropertyName="WebSite"
                        Visible="<%# !WebSiteId.HasValue %>" />
                    <med:MedianamikPropertyControl ID="Content" runat="server" PropertyName="Content" />
                </telerik:RadPageView>
            </telerik:RadMultiPage>
        </Template>
    </med:MedianamikFormTemplate>
</asp:Content>
